package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TWithdrawalRecord;

/**
 * 提现记录Service接口
 * 
 * @author xiuddoo
 * @date 2025-09-17
 */
public interface ITWithdrawalRecordService 
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public TWithdrawalRecord selectTWithdrawalRecordById(String id);

    /**
     * 查询提现记录列表
     * 
     * @param tWithdrawalRecord 提现记录
     * @return 提现记录集合
     */
    public List<TWithdrawalRecord> selectTWithdrawalRecordList(TWithdrawalRecord tWithdrawalRecord);

    /**
     * 新增提现记录
     * 
     * @param tWithdrawalRecord 提现记录
     * @return 结果
     */
    public int insertTWithdrawalRecord(TWithdrawalRecord tWithdrawalRecord);

    /**
     * 修改提现记录
     * 
     * @param tWithdrawalRecord 提现记录
     * @return 结果
     */
    public int updateTWithdrawalRecord(TWithdrawalRecord tWithdrawalRecord);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的提现记录主键集合
     * @return 结果
     */
    public int deleteTWithdrawalRecordByIds(String[] ids);

    /**
     * 删除提现记录信息
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteTWithdrawalRecordById(String id);
    
    /**
     * 删除提现记录信息
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public boolean checkBalance(TWithdrawalRecord tWithdrawalRecord);
}
